package com.cincc.cinccimdemo.viewholder;

import android.content.Context;
import android.text.SpannableString;
import android.view.View;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.TextView;

import com.cincc.cinccimdemo.R;
import com.cincc.cinccimdemo.adapter.ConversationAdapter;
import com.cincc.cinccimdemo.common.EmojiUtils;
import com.cincc.cinccimdemo.model.MessageInfoUI;
import com.cincc.im.model.enums.SendStatus;

public class TextViewHolder extends MessageContentHolder {
    public TextView tv_message;


    public TextViewHolder(Context context, View itemView, ConversationAdapter adapter) {
        super(context, itemView, adapter);
        tv_message = itemView.findViewById(R.id.message_tv);
    }

    @Override
    public void bindView(MessageInfoUI uiMessage, int position) {
        super.bindView(uiMessage, position);
        tv_message.setText(uiMessage.getMessageInfo().messageContent);
    }
}
